﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShevaEngine.Core.Modules.Graphics;
using Microsoft.Xna.Framework.Graphics;

namespace ShevaEngine.Core.Modules.Models.Pipeline
{
    /// <summary>
    /// Model Node Geometry.
    /// </summary>
    public class ModelInternalNodeGeometry : ModelInternalNode
    {
        /// <summary>Material parameters.</summary>
        public ModelMaterialParameters MaterialParameters;
        /// <summary>Buffers index.</summary>
        public int BuffersIndex { get; set; }
        /// <summary>Typ primitiva.</summary>
        public PrimitiveType PrimitiveType;
        /// <summary>The number of vertices used during a draw call.</summary>
        public int NumVertices;
        /// <summary>The number of primitives to render.</summary>
        public int PrimitiveCount;
        /// <summary>The location in the index array at which to start reading vertices.</summary>
        public int StartIndex;
        /// <summary>The offset (in vertices) from the top of vertex buffer.</summary>
        public int VertexOffset;
        /// <summary>Base vertex.</summary>
        public int BaseVertex;            

        /// <summary>
        /// Constructor
        /// </summary>
        public ModelInternalNodeGeometry()
            : base()
        {
                
        }
    }
}
